/**
 * 
 */
package com.tvshows.front.listener.command;

import com.tvshows.front.listener.command.interfaces.RecapCommand;
import com.tvshows.interactions.ObserverBdd;

/**
 * @author Tangi Midy
 * <p>
 * This class invokes the observer in order to refresh the downloads of the shows located in the favorite list
 * </p>
 */
public class RefreshFavoritesCommand
    extends RecapCommand
{

    /**
     * @see com.tvshows.front.listener.command.interfaces.RecapCommand#executeCommand()
     */
    @Override
    public void executeCommand()
    {

        ObserverBdd.getObserverBdd().activate( true );
        RefreshJob job = new RefreshJob();
        job.schedule();
    }
}
